﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="_619BJP.Models"%>
<%@ Import Namespace="_619BJP.Web.Controllers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	619保健品点评网 -- 保健品品牌
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <link href="../../Content/css/Instance/Brand/BrandIndex.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/Component/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var $backToTopTxt = "返回顶部", $backToTopEle = $('<div class="backToTop"></div>').appendTo($("body"))
        .text($backToTopTxt).attr("title", $backToTopTxt).click(function () {
            $("html, body").animate({ scrollTop: 0 }, 120);
        }), $backToTopFun = function () {
            var st = $(document).scrollTop(), winh = $(window).height();
            (st > 0) ? $backToTopEle.show() : $backToTopEle.hide();
            //IE6下的定位
            if (!window.XMLHttpRequest) {
                $backToTopEle.css("top", st + winh - 166);
            }
        };
            $(window).bind("scroll", $backToTopFun);
            $(function () { $backToTopFun(); });
        });
    </script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div id="navigation">
        <span>您现在的位置： <a href="/Home/Index">首页</a> ></span> 
        <span > <a href="/Brand/BrandIndex" class="current_nav">保健品品牌</a></span>
    </div>
    <div id="brand_list">
         <%System.Data.DataSet ds = (new BrandController()).GetAllBrands();
           if (ds.Tables[0].Rows.Count > 0)
           {
         %>
        <ul>
            <%for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
            {%>
            <li>
                <div class="brand_img"><a href="/Brand/BrandDetails/<%=ds.Tables[0].Rows[i]["id"] %>"><img src="../..<%=ds.Tables[0].Rows[i]["logo"] %>"/></a></div>
                <div class="brand_name"><a href="/Brand/BrandDetails/<%=ds.Tables[0].Rows[i]["id"] %>"><%=ds.Tables[0].Rows[i]["name"]%></a></div>
            </li>
            <%} %>
        </ul>
        <%}
           else
           { %>暂无
        <%} %>
    </div>

<%--    <div id="brandAllIndex">
        <div id="regionIndex">
            <span>
                <a href="">国内保健品品牌</a>
                <a href="">国外保健品品牌</a>
            </span>
        </div>
        <div id=""></div>
        <div id="wordIndex"><span>字母检索:</span>
            <a href="">A</a>
            <a href="">B</a>
            <a href="">C</a>
            <a href="">D</a>
            <a href="">E</a>
            <a href="">F</a>
            <a href="">G</a>
            <a href="">H</a>
            <a href="">I</a>
            <a href="">J</a>
            <a href="">K</a>
            <a href="">L</a>
            <a href="">M</a>
            <a href="">N</a>
            <a href="">O</a>
            <a href="">P</a>
            <a href="">Q</a>
            <a href="">R</a>
            <a href="">S</a>
            <a href="">T</a>
            <a href="">U</a>
            <a href="">V</a>
            <a href="">W</a>
            <a href="">X</a>
            <a href="">Y</a>
            <a href="">Z</a>
        </div>
    </div>
     
    <div id="IndexDeatail">
        <ul>
            <li name="brand_a" class="index_li">
                <div class="index_img_select"><span>A</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href="/Brand/BrandDetails/1">A品牌</a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_b" class="index_li">
                <div class="index_img"><span>B</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_c" class="index_li">
                <div class="index_img"><span>C</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_d" class="index_li">
                <div class="index_img"><span>D</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_e" class="index_li">
                <div class="index_img"><span>E</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_f" class="index_li">
                <div class="index_img"><span>F</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_g" class="index_li">
                <div class="index_img"><span>G</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_h" class="index_li">
                <div class="index_img"><span>H</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_i" class="index_li">
                <div class="index_img"><span>I</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_j" class="index_li">
                <div class="index_img"><span>J</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_k" class="index_li">
                <div class="index_img"><span>K</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_l" class="index_li">
                <div class="index_img"><span>L</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_m" class="index_li">
                <div class="index_img"><span>M</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_n" class="index_li">
                <div class="index_img"><span>N</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_o" class="index_li">
                <div class="index_img"><span>O</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_p" class="index_li">
                <div class="index_img"><span>P</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_q" class="index_li">
                <div class="index_img"><span>Q</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_r" class="index_li">
                <div class="index_img"><span>R</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_s" class="index_li">
                <div class="index_img"><span>S</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_t" class="index_li">
                <div class="index_img"><span>T</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_u" class="index_li">
                <div class="index_img"><span>U</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_v" class="index_li">
                <div class="index_img"><span>V</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_w" class="index_li">
                <div class="index_img"><span>W</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_x" class="index_li">
                <div class="index_img"><span>X</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_y" class="index_li">
                <div class="index_img"><span>Y</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
            <li name="brand_z" class="index_li">
                <div class="index_img"><span>Z</span></div>
                <div class="index_word">
                    <ul>
                        <li><a href=""></a></li>
                    </ul>
                </div>
            </li>
        </ul>
    </div>--%>
</asp:Content>



